package com.cnswhy.cloud.server.core.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.cnswhy.cloud.server.common.entity.enumeration.SmsType;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 
 * </p>
 *
 * @author cnswhy
 * @since 2020-10-27
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "SmsTempateSaveDTO", description = "")
public class SmsTempateSaveDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 短信类型 #SmsType{SMS_CODE:验证码;SPELL_SUCCESS:拼团成功;}
     */
    @ApiModelProperty(value = "短信类型 #SmsType{SMS_CODE:验证码;SPELL_SUCCESS:拼团成功;}")
    private SmsType type;
    /**
     * accessKeyId
     */
    @ApiModelProperty(value = "accessKeyId")
    @Length(max = 64, message = "accessKeyId长度不能超过64")
    private String accessKeyId;
    /**
     * accessSecret
     */
    @ApiModelProperty(value = "accessSecret")
    @Length(max = 64, message = "accessSecret长度不能超过64")
    private String accessSecret;
    /**
     * 签名
     */
    @ApiModelProperty(value = "签名")
    @Length(max = 64, message = "签名长度不能超过64")
    private String signName;
    /**
     * 模板ID
     */
    @ApiModelProperty(value = "模板ID")
    @Length(max = 64, message = "模板ID长度不能超过64")
    private String templateCode;

}
